<div class="obligations form">
    <?php echo $this->Form->create('Obligation'); ?>
    <fieldset>
        <legend><?php echo __('Adicionar Obligación '); ?></legend>
        <?php
        echo $this->Form->input('Obligation.descripcion', array('label' => 'Obligación'));
        echo $this->Form->hidden('Obligation.contract_id');
        ?>
    </fieldset>
    <?php echo $this->Ajax->submit('Guardar', array('url' => array('controller' => 'Obligations', 'action' => 'add', $this->data['Obligation']['contract_id']), 'update' => 'content', 'indicator' => 'loading'));
    ?>
    <?php echo $this->Form->end(); ?>
</div>

